// 知识库接口
import { request } from '@/utils/request.js'

/**
 * @description: 获取分类
 * @params {page} 分页
 * @params {page_size} 当前页数量
 * @return {*}
 */
const ordersetpageparmprices = params => {
    return request({
        url: 'ordersetpageparmprices',
        method: 'GET',
        data: params
    },false)
}

// saveorderinfo
const saveorderinfo = params => {
    return request({
        url: 'saveorderinfo',
        method: 'post',
        data: params
    },false)
}
// confirmorderinfo
const confirmorderinfo = params => {
    return request({
        url: 'confirmorderinfo',
        method: 'post',
        data: params
    },false)
}

//confirmorderpageuserwalletbalance
const walletbalance = params => {
    return request({
        url: 'confirmorderpageuserwalletbalance',
        method: 'post',
        data: params
    },false)
}

// wxtopayment
const wxtopayment = params => {
    return request({
        url: 'wxtopayment',
        method: 'post',
        data: params
    },false)
}
// confirmpayusewallet
const confirmpayusewallet = params => {
    return request({
        url: 'confirmpayusewallet',
        method: 'post',
        data: params
    },false)
}

// myorderlist
const myorderlist = params => {
    return request({
        url: 'myorderlist',
        method: 'post',
        data: params
    },false)
}

// myorderchangedatepage
const myorderchangedatepage = params => {
    return request({
        url: 'myorderchangedatepage',
        method: 'post',
        data: params
    },false)
}

const myorderchangedateinfosave = params => {
    return request({
        url: 'myorderchangedateinfosave',
        method: 'post',
        data: params
    },false)
}

// wxorderquery
const wxorderquery = params => {
    return request({
        url: 'wxorderquery',
        method: 'post',
        data: params
    },false)
}

// myordercancel
const myordercancel = params => {
    return request({
        url: 'myordercancel',
        method: 'post',
        data: params
    },false)
}
// myordersendbackmoney
const myordersendbackmoney = params => {
    return request({
        url: 'myordersendbackmoney',
        method: 'post',
        data: params
    },false)
}

module.exports = {
    ordersetpageparmprices,
	saveorderinfo,
	confirmorderinfo,
	walletbalance,
	wxtopayment,
	confirmpayusewallet,
	myorderlist,
	myorderchangedatepage,
	myorderchangedateinfosave,
	wxorderquery,
	myordercancel,
	myordersendbackmoney
}